//
//  UserAccount.swift
//  ZTWeiboo
//
//  Created by mac on 15/8/17.
//  Copyright © 2015年 YYL. All rights reserved.
//

import UIKit

class UserAccount: NSObject{
//    "access_token": 2.00KMuLxFJ_VfVCca4aee6999xkXVCE, "remind_in": 157679999, "uid": 5455305610, "expires_in": 157679999]
    var access_token : String?
    var expires_in : NSTimeInterval = 0
    var uid : String?
    
    init(dict: [String: AnyObject]){
        super.init()
        
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {}
    
    override var description : String{
        let properties = ["access_token","expires_in","uid"]
        return "\(dictionaryWithValuesForKeys(properties))"
    }
}
